[Spec Decode] Support EAGLE for Qwen3 MoE #26241
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Fix #25927 and #25134.
Test Plan
vllm serve \ Qwen/Qwen3-30B-A3B \ --host 0.0.0.0 \ --port 7000 \ --seed 42 \ -dp 2 \ --enable-expert-parallel \ --enforce-eager \ --max-model-len 4096 \ --gpu_memory_utilization 0.8 \ --speculative-config '{"model":"Tengyunw/qwen3_30b_moe_eagle3","num_speculative_tokens":4}' lm_eval --model local-completions \ --tasks gsm8k \ --model_args model=Qwen/Qwen3-30B-A3B,base_url=http://0.0.0.0:7000/v1/completions,num_concurrent=1,max_retries=3,tokenized_requests=FalseTest Result
w/ spec
w/o spec
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.